package com.istart.jdk.enums;

import org.joda.time.DateTime;

public class Main {
	public static void main(String[] args) {
		DateTime from = DateTime.parse("2015-06-6");
		DateTime to = DateTime.now();
		System.out.println(TimePeriod.MONTH.getNumberOfPoints(from, to));
		System.out.println(TimePeriod.MONTH.getPeriodFromNbOfInterval(3));
		System.out.println(TimePeriod.MONTH.getStartOfInterval(from));
		for (int i = 0; i < TimePeriod.DAY.getNumberOfPoints(from, to); i++){
			
		}
	}
}
